package com.example.demo;

public class Test {

    public static void main(String[] args) {
        double d = 1.03;
        double sum = d;
        for (int i = 0; i < 30; i++) {
            sum = sum * d;
        }
        System.out.println(sum);
    }

}
